package me.sdevil507.biz.fruit.dto;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class ResultListFruitDTO implements Serializable {

    private long id;

    private String name;

    private String type;

    /**
     * 活动成果类型 1：出席会议 2：接受采访 3：考察调研 4：授课培训
     */
    private String activityProdType;

    private Date pubTime;

    private Date completionTime;

    private String authors;

    private String subLevel;

    private String theme;

    private String journalName;

    private String issueNumber;

    private String press;

    private String isbn;

    private String meetingTypeName;

    private String organizer;

    private String coorganizer;

    private String visitTypeName;

    private String awards;

    private String grantUnit;
    private String projectStatusName;

    private String clientLevelName;

    private String topicName;

    private Integer feedBackCount;



    public ResultListFruitDTO(long id, String name, String type, String activityProdType, Date pubTime, String authors) {
        this.id = id;
        this.name = name;
        this.type = type;
        this.activityProdType = activityProdType;
        this.pubTime = pubTime;
        this.authors = authors;
    }

    public ResultListFruitDTO(long id, String name, String type, String activityProdType, Date pubTime, String authors, String topicName) {
        this.id = id;
        this.name = name;
        this.type = type;
        this.activityProdType = activityProdType;
        this.pubTime = pubTime;
        this.authors = authors;
        this.topicName = topicName;
    }

    public ResultListFruitDTO(long id, String name, String type, String activityProdType, Date pubTime, String authors, String topicName, Integer feedBackCount) {
        this.id = id;
        this.name = name;
        this.type = type;
        this.activityProdType = activityProdType;
        this.pubTime = pubTime;
        this.authors = authors;
        this.topicName = topicName;
        this.feedBackCount = feedBackCount;
    }


    public ResultListFruitDTO(long id, String name, String type, String activityProdType, String awards, Date pubTime, String journalName, String coorganizer, String press, String grantUnit, String authors, String theme, String meetingTypeName, String visitTypeName) {
        this.id = id;
        this.name = name;
        this.type = type;
        this.activityProdType = activityProdType;
        this.awards = awards;
        this.pubTime = pubTime;
        this.journalName = journalName;
        this.coorganizer = coorganizer;
        this.press = press;
        this.grantUnit = grantUnit;
        this.authors = authors;
        this.theme = theme;
        this.meetingTypeName = meetingTypeName;
        this.visitTypeName = visitTypeName;
    }

    public ResultListFruitDTO(long id, String name, String type, String activityProdType, Date pubTime, Date completionTime, String authors, String journalName, String issueNumber, String press, String isbn, String meetingTypeName, String organizer, String visitTypeName, String awards, String grantUnit, String projectStatusName, String clientLevelName, String topicName) {
        this.id = id;
        this.name = name;
        this.type = type;
        this.activityProdType = activityProdType;
        this.pubTime = pubTime;
        this.completionTime = completionTime;
        this.authors = authors;
        this.journalName = journalName;
        this.issueNumber = issueNumber;
        this.press = press;
        this.isbn = isbn;
        this.meetingTypeName = meetingTypeName;
        this.organizer = organizer;
        this.visitTypeName = visitTypeName;
        this.awards = awards;
        this.grantUnit = grantUnit;
        this.projectStatusName = projectStatusName;
        this.clientLevelName = clientLevelName;
        this.topicName = topicName;
    }
}
